package com.coocaa.ops.admin.config.redis;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * @author tangminghong
 * @date 2020-04-10 14:30
 */
@NacosConfigurationProperties(groupId = "${nacos.config.group}", dataId = "homepage-api-redis-master-slave.yml", autoRefreshed = true)
@Getter
@Setter
@Component
public class RedisMasterSlaveProperties {

    private String timeout;

    private String master;

    private String slave;

    private String lettucePoolMaxActive;

    private String lettucePoolMaxIdle;

    private String lettucePoolMinIdle;

    private String lettucePoolMaxWait;

    private String password;
}
